package org.example.services;

import org.example.domain.Goods;
import org.example.domain.Order;
import org.example.domain.PageBean;
import org.example.domain.response.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

public interface GoodsService {
    ResponseResult saveGoods(Goods goods);
    ResponseResult updateGoods(Goods goods);
    ResponseResult deleteGoods(Integer goodsId);
    ResponseResult getAllGoods();
    ResponseResult getGoodsByGoodsId(int goodsId);

    ResponseResult uploadGoodsImg(MultipartFile file, int goodsId);
}
